//
//  DrawView.m
//  图片的相关处理
//
//  Created by Justsoso on 16/4/7.
//  Copyright © 2016年 Justsoso. All rights reserved.
//

#import "DrawView.h"

@implementation DrawView


// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect
{
    // Drawing code
    
    UIImage *image = [UIImage imageNamed:@"1.jpg"];
    [image drawInRect:rect];
    
    NSString *str = @"冥王·雷利";
    NSDictionary *dict = @{NSFontAttributeName:[UIFont systemFontOfSize:20]};
    [str drawAtPoint:CGPointZero withAttributes:dict];
}


@end
